package com.greydawn.BuilderPattern;

/**
 * @Author: zhongwr
 * @Create: 2021/12/13 22:33
 * @Version 1.0
 * @Description:
 */
public class WoMen implements People {

    private ShowPeople showPeople = new ShowPeople();

    @Override
    public void addClothes() {
        showPeople.setClothes("衬衣");
    }

    @Override
    public void addPants() {
        showPeople.setPants("百褶裙");
    }

    @Override
    public void addHat() {
        showPeople.setHat("假发");
    }

    public ShowPeople getPeople() {
        return showPeople;
    }
}
